﻿// --------------------------------------------------------------------------------------------------------------------- 
// <copyright file="SA1005SingleLineCommentsMustBeginWithSingeSpace.cs" company="blinkBox Entertainment Ltd.">
//   Copyright (c) blinkBox Entertainment Ltd. All rights reserved.
// </copyright>
// <summary>
//   Defines the SA1005SingleLineCommentsMustBeginWithSingeSpace type.
// </summary>
// ---------------------------------------------------------------------------------------------------------------------
namespace StyleCop.For.ReSharper.TestProject.Spacing
{
    /// <summary>
    /// </summary>
    internal class SA1005SingleLineCommentsMustBeginWithSingeSpace
    {
        #region Methods

        /// <summary>
        /// This is the summary.
        /// </summary>
        private void Method1()
        {
            // Should begin with a space
            var x1 = 4 + 
                2;
            var y1 = ! false;

            if (!y1)
            {
                y1 = true;
            }

            // Should begin with a single space
            var x2 = 4 + 2;

            ////Shouldn't be altered
            var y2 = !false;
        }

        #endregion
    }
}